import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import TypeNav from './components/TypeNav'
// import VPagination from './components/Pagination'
import componentPlugins from './components'
import '@/assets/styles/reset.css'
import '@/mock/mockServe'
// 导入插件
import '@/plugins/element'
import '@/plugins/vee-validate'
import '@/plugins/lazyload'
Vue.config.productionTip = false
// Vue.component('TypeNav', TypeNav)
// Vue.component('VPagination', VPagination)
Vue.use(componentPlugins)
new Vue({
  beforeCreate() {
    Vue.prototype.eventBus = this
  },
  router,
  store,
  render: h => h(App)
}).$mount('#app')
